﻿using System.Web.Mvc;
using DotNETStack.Core.Model;

namespace DotNETStack.Web.UI.Views.Questions
{
    public partial class Detail : ViewPage
    {
        protected override void OnLoad(System.EventArgs e)
        {
            if (ViewData["Question"] != null)
            {
                QuestionTitle.Text = ((IQuestion)ViewData["Question"]).Title;
            }
            base.OnLoad(e);
        }
    }
}